package com.zb.zbtcommon.service.impl;

import com.zb.zbtcommon.dao.BusinessSchoolDao;
import com.zb.zbtcommon.entity.BusinessSchool;
import com.zb.zbtcommon.service.BusinessSchoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class BusinessSchoolServiceImpl implements BusinessSchoolService {

    @Autowired
    private BusinessSchoolDao businessSchoolDao;

    public BusinessSchool findABusinessByNewsId(String newsid) {
        return businessSchoolDao.findABusinessByNewsId(newsid);
    }
}
